//
//  ByTabBar.h
//  mijifen_ios
//
//  Created by 朱凯 on 2017/10/10.
//  Copyright © 2017年 itboye. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ByTabBar : UIView

@property (nonatomic, copy  ) void (^selectBlock)(NSInteger index);
@property (nonatomic, assign) NSInteger selectIndex;

// 颜色设置
@property (nonatomic, strong) UIColor *tintColor;
@property (nonatomic, strong) UIColor *highlightTintColor;

// 设置tabbar按钮的样式，允许images和titles个数不一致，自动适配
@property (nonatomic, copy  ) NSArray *images;
@property (nonatomic, copy  ) NSArray *highlightImages;
@property (nonatomic, copy  ) NSArray *titles;

// 创建视图
- (void)setupUI;


@end
